﻿@model System.Collections.Generic.IEnumerable<KPIS.GERP.Models.SYS.ServerStartUp>

@{
    ViewBag.Title = "Server Startup Detail";
}

<div class="row-fluid">
    @*<div class="block-button-menu-above">
        @Html.ButtonAdd()
        @Html.ButtonDeleteAll()
    </div>*@
    @Html.ValidationSummary(true, "", new { @class = "alert alert-error" })
    @*<div class="row-fluid">
        <div class="table-header span12">
			<div class="span10">
				@ViewBag.Title
			</div>
			@Html.Partial("_ExportButton")
        </div>
    </div>*@

    <table id="table" class="table table-striped table-bordered table-hover" aria-describedby="table_info">
        <thead>
            <tr>
                <th>
					#
				</th>
				<th>
					System
				</th>
				<th>
					DateInit
				</th>
				<th>
					Title
				</th> 
				<th>
					Description
				</th> 
            </tr>
        </thead>

        <tbody>
            @foreach (var m in Model)
			{
                <tr> 
					<td>
						@m.ServerStartupId 
					</td>
					<td>
						@m.System 
					</td>
					<td>
						@m.DateInit 
					</td>
					<td>
						@m.Title 
					</td>
					<td>
						@m.Description 
					</td>
                </tr>
            }
        </tbody>
    </table>
</div>

@section scripts {
<script type="text/javascript">
	$(function () {
		$('#table').dataTable({
			"aoColumns": [
                null,
                null,
                null,
                null,
                null
			]
		});
	})

</script>
}